import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from "axios"
import VueAxios from "vue-axios"
import Vant from "vant"

import 'vant/lib/index.css'

axios.defaults.baseURL="http://localhost:8082/";


axios.defaults.baseURL="http://localhost:8082/"
axios.defaults.headers.bbtoken=store.state.token

createApp(App).use(store).use(router)
    .use(Vant).use(VueAxios,axios)
    .mount('#app')
